package com.shitou.shitouproduct.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.shitou.shitoucommons.utils.PageUtils;
import com.shitou.shitoucommons.utils.RespBean;
import com.shitou.shitouproduct.entity.CategoryBrandRelationEntity;

import java.util.Map;

/**
 * 品牌分类关联
 *
 * @author 石头人
 * @email 3076767823@qq.com
 * @date 2023-03-04 18:03:45
 */
public interface CategoryBrandRelationService extends IService<CategoryBrandRelationEntity> {

    PageUtils queryPage(Map<String, Object> params);


    RespBean mySave(CategoryBrandRelationEntity categoryBrandRelation);


    /**
     * 获取关联表，通过品牌id
     * @param brandId
     * @return
     */
    RespBean getRelationByBrandId(Long brandId);
}

